package com.xlb.service;

import com.xlb.model.vo.category.DeleteCategoryReqVO;
import com.xlb.model.vo.category.FindCategoryPageListReqVO;
import com.xlb.model.vo.category.AddCategoryReqVO;
import com.xlb.utils.PageResponse;
import com.xlb.utils.Response;

/**
 * @author 小聋包
 * @date 2024/5/16
 * @Version 1.0
 */
public interface AdminCategoryService {

    /**
     * 添加分类
     * @param addCategoryReqVO
     * @return
     */
    Response addCategory(AddCategoryReqVO addCategoryReqVO);

    /**
     * 分类分页数据查询
     */
    PageResponse findCategoryPageList(FindCategoryPageListReqVO findCategoryPageListReqVO);


    /**
     * 分类分页数据查询
     * @param findCategoryPageListReqVO
     * @return
     */
    PageResponse findCategoryList(FindCategoryPageListReqVO findCategoryPageListReqVO);
    /**
     * 删除分类
     */
    Response deleteCategory(DeleteCategoryReqVO deleteCategoryReqVO);

    /**
     * 获取文章分类的select列表数据
     * @return
     */
    Response findCategorySelectList();


}
